]> dgit.raspbian.org Git - gnome-shell.git/commit
workspaceThumbnail: don't move transient windows for workspaces
authorBradley Pankow <BTPankow.gnome@gmail.com>
Tue, 30 Jul 2013 20:35:52 +0000 (16:35 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 30 Jul 2013 22:40:51 +0000 (18:40 -0400)
commit8dfcee9039c21f9333afbf90f83aca98c63552e7
treedda9e90793554c8d01be6ceefa622287e6b587b1
parentbe355bf7b45b96062e9339425b5f80c94f039c99
workspaceThumbnail: don't move transient windows for workspaces

When we shift workspaces to create a blank one for a window or
application, all of the window actors are shifted down.  However, some
of these window actors are transient windows attached to a main window.
When these windows are moved to a different workspace, the main window
is moved along with it. When the main window is moved, these windows
are also moved. This creates a double move of the windows.
This double movement leads to unexpected results where workspaces are
collapsed and windows are in incorrect positions.
This patch prevents movement of these transient windows, only grabbing
the main (ancestor) windows to move to a different workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=705174
js/ui/workspaceThumbnail.js